import {type PageRequest} from "@/types/PageRequest"

export enum Platform{
    Android = "Android",
    IOS = "IOS"
}

export interface AppVersionListAO extends PageRequest{
    platform: Platform,
}
export enum Status{
    test = "test",
    release = "release",
}

export interface AppVersionVO{
    id: string,
    platform: Platform,
    versionStr: string,
    releaseTime: string,
    info: string,
    fileUrl: string,
    wgtUrl: string,
    status: Status,
    updateMethod: UpdateMethod,
    isForce: IsForce,
}

export interface SelectNowVersionVO{
    android: AppVersionVO,
    ios: AppVersionVO,
}

export enum UpdateMethod{
    APK = "APK",
    WGT = "WGT",
    IPA = "IPA"
}

export enum IsForce{
    yes = "yes",
    no = "no"
}